$OpenBSD: patch-debugger_Makefile_in,v 1.2 2016/08/30 11:02:41 jasper Exp $
--- debugger/Makefile.in.orig	Tue Jan 12 19:26:21 2016
+++ debugger/Makefile.in	Thu Aug 25 11:08:03 2016
@@ -52,10 +52,11 @@ LABLGTK2 = @LABLGTK2@
 
 all: obdb1
 
-LIBS = unix.cma threads.cma lablgtk.cma str.cma gtkThread.cmo $(YYPARSE) 
+LIBS = unix.cma threads.cma lablgtk.cma lablgtksourceview2.cma str.cma \
+       gtkThread.cmo $(YYPARSE) 
 OBDB1 = ../compiler/basis.cma debugger.cma debmain.cmo
-obdb1: $(OBDB1) debprims.o ../lablgtk/lablgtk.cma ../lablgtk/liblablgtk.a
-	$(OCAMLC) $(MLFLAGS) -custom -I ../lablgtk \
+obdb1: $(OBDB1) debprims.o $(LABLGTK2)/lablgtk.cma $(LABLGTK2)/liblablgtk2.a
+	$(OCAMLC) $(MLFLAGS) -custom -I $(LABLGTK2) \
 	    -thread -o $@ $(LIBS) $(OBDB1) debprims.o $(MLLINKFLAGS)
 
 DEBUGGER = debconf.cmo binary.cmo info.cmo procio.cmo data.cmo \
@@ -74,7 +75,7 @@ debprims.o: debprims.c
 %.ml: %.mll
 	$(OCAMLLEX) -o $@ $<
 
-INCLUDE = -I ../compiler -I ../lablgtk
+INCLUDE = -I ../compiler -I $(LABLGTK2)
 
 %.cmi: %.mli
 	$(OCAMLC) $(MLFLAGS) -c $(INCLUDE) -o $@ $<
